package com.track.mapping.handlers;

import com.track.mapping.engines.MapUIRunner;
import com.track.views.MapTileView;

import android.os.Bundle;
import android.os.Handler;
import android.os.Message;

public class MapUIThreadHandler extends Handler{
		
		MapUIRunner mUIThread = new MapUIRunner();
		void onCreate(){
			
		
			
		}
		
		public void handleMessage(Message msg) {
			Bundle args = (Bundle)msg.obj;
			switch (msg.what){
			
			
			// this is to handle 0 message
			case MapTileView.MAP_UI_REST:
				// TODO - sleep of the UI thread
			break;
			
			case MapTileView.MAP_UI_MOVING:
				//TODO - handle UI motion
				break;
				
			case MapTileView.MAP_UI_ERROR:
				
				//TODO - handle UI error message
				break;
			
		}
		}
		

}
